package cn.edu.cimv.service;

import cn.edu.cimv.dao.entity.Paper;

import java.util.List;

/**
 * Created by 门铎 on 2016/6/27.
 */
public interface PaperService {
    //编辑论文
    void editPaper(Paper paper);
    //查询论文
    List<Paper> queryPaper(int flag);
    //查询论文
    List<Paper> queryPaperByPaperType(String paperType);
    //根据id查询单条论文
    Paper queryPaperById(int id);
    //删除论文
    void deletePaper(int id);
    //修改论文
    void updatePaper(Paper paper);
}
